<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>拼接内容</title>
    <style>
        
    </style>
</head>

<body>
    <div class="editor"></div>
    <script>
        navigator.clipboard.readText().then((text)=>{
            document.querySelector(".editor").innerHTML=text;
        });
    </script>

</body>

</html>